<?php
use yii\helpers\Html;
$this->title = '用户管理';
?>
<div class="container">
	<div class="row">
		<?php echo $this->render('_leftnav');?>
		<div class="col-md-10">
			<div class="page-header clearfix">
				<h1 class="pull-left">批量导入</h1>
				<div class="pull-right"></div>
			</div>
			<div class="page-header clearfix">
				<h1 class="pull-left">步骤1</h1>
			</div>
			<div class="row">
				<form method="post" enctype="multipart/form-data" class="form-horizontal">
					<div class="form-group">
						<div class="col-md-3 col-md-offset-1"><b>选择要导入的文件</b></div>
						<div class="col-md-8">
							<div class="uploader blue">
								<input class="filename" readonly="readonly" type="text">
								<input name="excel" class=" button" value="浏览..." type="button">
								<input size="30" name="excel" type="file">
							</div>&nbsp;&nbsp;<a href="http://dcoffee.edusoho.com.cn/bundles/userimporter/example/user_import_example.xls?6.6.2">点击下载示例说明文件</a>
							<br>支持从Excel文件导入
						</div>
					</div><br>

					<div class="form-group">
						<div class="col-md-3 col-md-offset-1"><b>用户已存在时的导入规则</b></div>
						<div class="col-md-8 controls">
							<input required="required" value="ignore" checked="checked" name="rule" type="radio">
							<label class="required" style="padding: 0 20px 0 0px;">忽略跳过</label>
							<input required="required" value="update" name="rule" type="radio">
							<label class="required">覆盖更新</label>
						</div>
					</div>

					<div class="form-group">
						<div class="col-md-3 col-md-offset-1"></div>
						<div class="col-md-8 controls">
							<button type="submit" class="btn btn-primary" id="start-import-btn">开始校验数据</button>  
						</div>
					</div>
					<input name="_csrf_token" value="c79645a429a745b374e60bbb044bbcac0fb88c39" type="hidden">
				</form>
			</div>
		</div>
	</div>
</div>
